<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>员工编辑</title>
</head>
<body>

<form action="<c:url context='${pageContext.request.contextPath}' value='/EditEmp'></c:url>" method="post">
    名字：<input type="text" name="name" value="${requestScope.emp.name}"><br />
    工资：<input type="text" name="salary" value="${requestScope.emp.salary}"><br />
    年龄：<input type="text" name="age" value="${requestScope.emp.age}"><br />
    <input type="hidden" name="id" value="${requestScope.emp.id}"><br />
    <input type="submit" value="保存">
</form>
</body>
</html>
